package com.example.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
/**
*  网格的实体类
**/
@Data
public class Grid implements Serializable {

    private static final long serialVersionUID = 1L;

    //网格ID
    private Integer id;
    //横坐标
    private Integer x;
    //纵坐标
    private Integer y;
    //元素类型
    private Integer typeId;

    //元素类型名称
    private String name;
    //是否为座位
    private String type;
    //元素对应图片
    private String photo;
    //元素类型描述
    private String description;

    //是否被预约
    private String isBooked;
    //时间
    private String time;

}